
import { Map } from 'immutable'
import * as types from './constans';
const defaultState = Map({
  songDetailInfo: {}
})
export default (state = defaultState, action) => {
  switch (action.type) {
    case types.CHANGE_SONGS_DETAIL:
      return state.set('songDetailInfo', action.songDetail)
    default:
      return state
  }
}